import createHeading from './heading.js'
import './index.css'
import icon from './icon.png'
const heading = createHeading()
document.body.append(heading)

const img = new Image()
img.src = icon
document.body.append(img)

module.hot.accept('./heading.js', () => {
  console.log('模块更新了，需要这里手动处理热更新替换逻辑')
})